﻿namespace Nuclear.Models.DtoModels;

public class GenerateConsumeCodeResponseDto(
    string? systemId,
    string? merchantId = null,
    string? userId = null,
    string? benefitsCardNo = null,
    params string[] consumeCodes) : BaseResponseDto
{
    public GenerateConsumeCodeResponseDto()
        : this(null){}

    public ConsumeCodeInfo Data { get; set; } = new ConsumeCodeInfo
    {
        SystemId = systemId,
        MerchantId = merchantId,
        UserId = userId,
        BenefitsCardNo = benefitsCardNo,
        ConsumeCodes = consumeCodes
    };
}

public class ConsumeCodeInfo
{
    public string? SystemId { get; set; }
    public string? MerchantId { get; set; }
    public string? UserId { get; set; }
    public string? BenefitsCardNo { get; set; }
    public required string[] ConsumeCodes { get; set; }
}